package com.feeyo.prophet.pojo.action.flight;

import com.alibaba.fastjson.annotation.JSONField;
import com.feeyo.prophet.pojo.action.DateRange;
import lombok.Data;

import java.util.List;

@Data
public class FlightStatisticsReq  {

    @JSONField(name = "deptAirportCode")
    private List<String> deptAirportCode;
    @JSONField(name = "arrAirportCode")
    private List<String> arrAirportCode;
    @JSONField(name = "deptCityCode")
    private List<String> deptCityCode;
    @JSONField(name = "arrCityCode")
    private List<String> arrCityCode;
    @JSONField(name = "deptProvinceName")
    private List<String> deptProvinceName;
    @JSONField(name = "arrProvinceName")
    private List<String> arrProvinceName;
    @JSONField(name = "deptCountryCode")
    private List<String> deptCountryCode;
    @JSONField(name = "arrCountryCode")
    private List<String> arrCountryCode;
    @JSONField(name = "deptContinentCode")
    private List<String> deptContinentCode;
    @JSONField(name = "arrContinentCode")
    private List<String> arrContinentCode;
    @JSONField(name = "fservice")
    private String fservice;
    @JSONField(name = "fcategory")
    private List<Integer> fcategory;
    @JSONField(name = "airlines")
    private List<String> airlines;
    @JSONField(name = "airports")
    private List<String> airports;
    @JSONField(name = "dateRanges")
    private List<DateRange> dateRanges;
    /**
     * 和返回值进行字段匹配
     */
    @JSONField(name = "fields")
    private List<String> fields;

    @JSONField
    private String singleType;

}
